<!DOCTYPE html>
<html lang="en">

<head>
    <script src="/table.js"></script>

    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table onsubmit="submit()">
    <tbody id="table">
    <tr>
        <td>姓名</td>
        <td>年龄</td>
        <td>职业</td>
    </tr>
    <tr>
        <td><input type="text"></td>
        <td><input type="text"></td>
        <td><input type="text"></td>
        <td><input type="button" onclick="del(this)" value="删除"></td>
    </tr>
    <tr>
        <td><input type="text"></td>
        <td><input type="text"></td>
        <td><input type="text"></td>
        <td><input type="button" onclick="del(this)" value="删除"></td>
    </tr>
    </tbody>
</table>
<button onclick="add()">添加一行</button>
<input type="submit" onclick="submit()"></input>
<button onclick="httpre()">111</button>

</body>
</html>